<%--
  Created by IntelliJ IDEA.
  User: 栋
  Date: 2022/12/5
  Time: 14:27
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
    <%@include file="/pages/base/base.jsp"%>
</head>
<body>
<div class="container">

    <div class="loginContent">
        <div class="errorMsg">
            ${ empty requestScope.msg ? "请输入账号和密码":requestScope.msg }
        </div>
        <form action="adminServlet" method="post">
            <input type="hidden" name="action" value="login">
            <div class="row">
                <div class="col-25">
                    <label for="account">账号</label>
                </div>
                <div class="col-75">
                    <input type="text" required id="account" name="account" placeholder="请输入账号" value=${requestScope.account}>
                </div>
            </div>
            <div class="row">
                <div class="col-25">
                    <label for="pwd">密码</label>
                </div>
                <div class="col-75">
                    <input type="password" required id="pwd" name="pwd" placeholder="请输入密码">
                </div>
            </div>
            <div class="row">
                <input type="submit" value="登录">
            </div>
        </form>
    </div>

</div>
</body>
</html>
